package cn.wenlihelp.mapper;

import cn.wenlihelp.bean.Resources;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Entity cn.wenlihelp.bean.Resources
 */
public interface ResourcesMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Resources record);

    int insertSelective(Resources record);

    Resources selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Resources record);

    int updateByPrimaryKey(Resources record);

    List<Resources> findAll(Resources resources);

    void deleteByIds(@Param("ids") Integer[] ids);

    List<Resources> findByRoleId(@Param("roleId") Integer roleId);
}
